import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/api/menu_list',
    method: 'get',
    data,
  })
}

// 获取登录用户信息接口
export function getUser(data) {
  return request({
    url: '/api/get_user',
    method: 'post',
    data,
  })
}
